package com.midou.administration.controller;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.midou.administration.bo.MemBerBo;
import com.midou.administration.service.impl.MemberServiceImpl;
import com.midou.administration.service.impl.MenuServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;


/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author MrChen
 * @since 2021-03-24
 */
@RestController
@RequestMapping("/administration/member")
public class MemberController {

    @Autowired
    private MemberServiceImpl memberService;

    //查询会员充值信息
    @RequestMapping("selectMemberChongZhi")
    public Page selectMemberChongZhi(@RequestBody MemBerBo memBerBo){
        return memberService.selectMemberChongZhi(memBerBo);
    }
    //查询会员消费信息
    @RequestMapping("selectMemberXiaoFei")
    public Page selectMemberXiaoFei(@RequestBody MemBerBo memBerBo){
        return memberService.selectMemberXiaoFei(memBerBo);
    }

}
